package com.baseframe.chat.utils;

import com.baseframe.chat.entity.WebsocketMessage;

import java.util.List;

public class WebsocketMessageUtils {

    public static WebsocketMessage buildMessage(String senders, String messages,String...receivers){

        WebsocketMessage websocketMessage = new WebsocketMessage();

        websocketMessage.setSender(senders);
        websocketMessage.setMessage(messages);

        return websocketMessage;
    }
}
